home *** CD-ROM | disk | FTP | other *** search
/ NetNews Offline 2 / NetNews Offline Volume 2.iso / news / comp / lang / c-part1 / 6493 < prev    next >
Encoding:
Internet Message Format  |  1996-08-05  |  1.4 KB

  1. Path: jupiter.planet.net!usenet
  2. From: cygnusx@planet.net (David)
  3. Newsgroups: comp.lang.c
  4. Subject: Re: Help-Assignment2// This time I am posting the code!!!Thanx
  5. Date: Sun, 25 Feb 1996 05:15:11 GMT
  6. Organization: Planet Access Networks - Stanhope, NJ
  7. Message-ID: <312fecd3.8048674@news.planet.net>
  8. References: <312e8912.8777775@news.planet.net> <4gmdb3$c3p@news-f.iadfw.net>
  9. NNTP-Posting-Host: newt18.planet.net
  10. X-Newsreader: Forte Agent .99d/32.182
  11.  
  12. On Sat, 24 Feb 1996 09:02:39 GMT, alpet@airmail.net (Adam Peterson)
  13. wrote:
  14.  
  15.  
  16.  
  17. >Code below run on pc with MSC...
  18. >Adam
  19. >
  20. >Note 2 different styles of pointer use in the three functions...
  21. >
  22. >
  23. Adam,
  24.  
  25.      Thanx for the help, I dont know how to use pointers yet???. But
  26. what you showed me put me in the right direction  towards passing the
  27. array back to the main function. I think I got it !!. I am using
  28. borland C++ to compile these C programs and C++ seems to be more
  29. liberal than other compilers . when I tried to compile this program at
  30. school using the Unix system errors occurred in the fact that I used
  31. float for a repition loop variable ,like you had stated . Thanx , C++
  32. let me get away with this . Also I guess its not good practice to use
  33. variable names like ( total ) for repition loops ????.
  34.  
  35. Thanx  David
  36.  
  37. and to all of you out there in comp.lang.c you have been a great help
  38. Thanx. I better get an  A ?????????????????????????.
  39.